<template>
  <div class="app_loading_box">
    <van-loading color="white" size="50px" />
  </div>
</template>

<script>
import { loading } from 'vant'
export default {
  name: 'ui-app-loading',
  data() {
    return {}
  },
  components: {
    [loading.name]: loading
  }
}
</script>

<style lang="scss">
.app_loading_box {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  z-index: 900;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.7);

  .van-loading--white circle {
    stroke: $theme-color;
  }
}
</style>
